package com.umeox.watch.moto.dataservice.db.model;

import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;

/**
 * Created by Rambo 3/26/21
 * Describe:
 */
@Entity(tableName = HeartRate.TABLE_NAME)
public class HeartRate {

    @Ignore
    public static final String TABLE_NAME = "heart_rate";

    @PrimaryKey(autoGenerate = true)
    public long _id;

    public int minValue;

    public int maxValue;

    public int averageValue;

    public long measureTime;

    public boolean isUpload;

    @Override
    public String toString() {
        return "HeartRate{" +
                "_id=" + _id +
                ", minValue=" + minValue +
                ", maxValue=" + maxValue +
                ", averageValue=" + averageValue +
                ", measureTime=" + measureTime +
                ", isUpload=" + isUpload +
                '}';
    }
}
